package main

import (
	beego "github.com/beego/beego/v2/server/web"
	"order/conf"
	"order/models"
	_ "order/routers"
)

func main() {
	conf.Init()        //初始化配置
	models.MysqlInit() //连接mysql配置
	models.RedisInit() //连接redis配置
	beego.Run()
}
